import React from "react";

import { useForm } from "../hooks/useForm";
import { AuthCreate } from "../../../components/AuthArea";

const Header = () => {
  const { handleCreate } = useForm();

  return (
    <>
      <div style={{ marginBottom: 16 }}>
        <AuthCreate
          auth="AUTH_SYS_AUTHORITY_CREATE"
          handleCreate={handleCreate}
        />
      </div>
    </>
  );
};

export default Header;
